package com.hobson.design.factory.template;

/**
 * app客户端消息推送
 *
 * @author: haibin.tang
 * @date: 2020/8/13
 */
public class AppMessagePushHandler extends MessagePushHandler {

    public AppMessagePushHandler(Message message) {
        super(message);
    }

    @Override
    protected void check() {
        System.out.println("参数校验...");
    }

    @Override
    protected void push() {
        System.out.println("推送参数为 " + message.toString());
        System.out.println("推送到个推...");
    }

    @Override
    protected void save2db() {
        System.out.println("app客户端推送记录归档...");
    }
}
